﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using VideoClubGorbea.Model;

namespace VideoClubGorbea.Infraestructure
{
    public interface IVIdeoClubGorbeaContext :IDisposable
    {
        void SaveChanges();
        void Save<T>(T entity) where T : class, IEntity;
        void Delete<T>(T entity) where T : class, IEntity;
        IQueryable<Movie> Movies { get; }
        IQueryable<User> Users { get; }
   
        
    }
}
